import { useState, useEffect } from 'react'
import { Input as ATDInput } from 'antd-mobile'
import styles from './index.module.less'

type PropsType = {
  value?: string,
  onChange?: (value: string) => void,
  dictionary?: string,
  isSystemDictionary?: boolean,
  initialValue?: any,
  disabled?: boolean,
}

const Input = (props: PropsType) => {

  const {
    value,
    onChange,
  } = props

  return <ATDInput
    value={value}
    onChange={onChange}
  />
}

export default Input
